package com.kaili.basic.enums;

/**
 * <p>功能描述：设备枚举</p>
 * <p>Copyright: Copyright (c) 2017</p>
 * <p>Company: 杭州凯立通信有限公司</p>
 * @author zhouyijian
 *
 */
public enum DeviceEunm {

    //设备归属
    COMPANY_BELONG(1,"单位"),
    PERSON_BELONG(2,"个人"),
    //设备平台
    ANDROID(1,"安卓"),
    IOS(2,"IOS"),
    OTHER_PLATEFORM(3,"其他"),
    //设备类型
    PHONE(1,"手机"),
    PDA(2,"PDA"),
    PAD(3,"PAD"),
    OTHER_TYPE(4,"其他"),
    //设备签到
    IS_SIGN(1,"设备已签到"),
    UN_SIGN(0,"设备未已签到"),
    //设备绑定状态
    ORG_BIND(1,"绑定到机构"),
    PERSON_BIND(2,"绑定到个人"),
    //设备登记、注册
    DEVICE_CREATE(0,"设备登记"),
    DEVICE_REGISTER(1,"设备注册"),
    //设备在线状态
    DEVICE_ONLINE(1,"在线"),
    DEVICE_OFFLINE(2,"离线"),
    //设备汇总
    DEVICE_OUT_CONTROLLER(70,"脱离管控设备");
    Integer code;
    String message;
    DeviceEunm(Integer code, String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
